<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="/fuman/js/oversea.js"></script>
<body class="withvernav">
<div class="bodywrapper">
 {{include file='/public/leftmenu.tpl'}}
        
    <div class="centercontent tables">
    
        <div class="pageheader notab">
            <h1 class="pagetitle">仓库列表</h1>
            <span class="pagedesc"></span>
             <div class="menulist">
        		<ul class="profile_summary">
                        <li> <a href="/oversea/addwarehouse" class=""><span>添加新的仓库</span></a></li>
                        
                    </ul>
               </div>
        </div><!--pageheader-->
        
        <div id="contentwrapper" class="contentwrapper">
         <div class="page">{{$pageList}} 计{{$total}}条记录，共{{$totalpage}}页</div>
           <!--搜索栏-->
    <form class="stdform stdform2" method="post" action="/oversea/warehouse">
      <div class="tableoptions"> 
       
       其他搜索: <input type="text" name="other" id="other" class="width100" value="{{$other}}" />
       
        <button class="btn btn_orange btn_search radius50">Search</button>
        
      </div>
    </form>
    <!--搜索栏结束-->
     <div class="x_content" style="overflow-x:auto;">
                <table cellpadding="0" cellspacing="0" border="0" class="stdtable">
                    <colgroup>
                    	<col class="con1" />
                        <col class="con0" />
                        <col class="con1" />
                        <col class="con0" />
                        <col class="con1" />
                        <col class="con0" />
                        <col class="con1" />
                        <col class="con0" />
                        <col class="con1" />
                        <col class="con0" />
                        <col class="con1" />
                        <col class="con0" />
                    </colgroup>
                   
                    <thead>
                        <tr>
                        	<th class="head0">NO</th>
                        	<th class="head0">排序</th>
                            <th class="head0"><a href="/oversea/warehouse?orderbysku={{$orderbysku}}">仓库名称</a><span style="margin-top:15px;">&nbsp;&nbsp;<img src="/fuman/images/{{if $orderbysku=='DESC'}}arrowdown{{else}}arrowup{{/if}}.png"> </span></th>
                            <th class="head1">编码</th>
                            <th class="head0">国家</th>
                            <th class="head0">详细地址</th>
                            <th class="head0">邮编</th>
                            <th class="head0">联系人</th>
                            <th class="head0">联系电话</th>
                            <th class="head0">工作时间</th>
                            <th class="head0">创建时间 </th>
                            <th class="head0">操作 </th>
                        </tr>
                    </thead>
                  
                    <tbody>
                    {{foreach from=$list item=li key=key}}
                        <tr>
                        	<td>{{$li.id}}</td>
                        	<td><input type="text" name="paixu" id="paixu"  style="width:20px;" onBlur="getpaixu({{$li.id}},this)" value="{{$li.paixu}}" /></td>
                            <td>{{$li.name}}</td>
                            <td>{{$li.code}}</td>
                            <td>{{$li.country}}</td>
                            <td class="center" width="200">{{$li.province}}{{$li.city}}{{$li.address}}</td>
                            <td class="center">{{$li.zipcode}}</td>
                            <td class="center">{{$li.contactperson}}</td>
                            <td class="center">{{$li.tel}}</td>
                            <td class="center">{{$li.worktime}}</td>
                            <td class="center">{{$li.opertime}}</td>
                            <td class="center"><a href="/oversea/addwarehouse?id={{$li.id}}">编辑</a>｜<a href="#" onClick="delwarehouse({{$li.id}})">删除</a>｜<a href="/oversea/ajaxbutton?op=yz&yz={{$li.yz}}&id={{$li.id}}" >{{if $li.yz==0}}正常{{else}}<font color=red>停用</font>{{/if}}</a></td>
                        </tr>
                      {{/foreach}}
                       
                    </tbody>
                </table>
                </div>
                 <div class="page">{{$pageList}}</div>
                <br /><br />
                
               </div>
    
</div><!--bodywrapper-->

</body>
</html>
